package com.ruoyi.funding.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 资金支出记录 对象 funding_expenditure
 * 
 * @author ycl
 * @date 2025-01-06
 */
public class FundingExpenditure extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 资金支出记录id */
    private Long expenditureId;

    /** 科研经费id */
    @Excel(name = "科研经费id")
    private Long fundingId;

    /** 支出金额 */
    @Excel(name = "支出金额")
    private BigDecimal expenditureAmount;

    /** 支出日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "支出日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date expenditureDate;

    /** 支出类型 */
    @Excel(name = "支出类型")
    private String expenditureType;

    /** 支出描述 */
    @Excel(name = "支出描述")
    private String description;

    /** 支付方式 */
    @Excel(name = "支付方式")
    private String paymentMethod;

    /** 支出文件 */
    @Excel(name = "支出文件")
    private String files;

    /** 删除人 */
    @Excel(name = "删除人")
    private String deleteBy;

    /** 删除时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "删除时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date deleteTime;

    /** 删除标记（0-未删除（默认），1-已删除） */
    private Integer delFlag;

    /** 版本号 */
    @Excel(name = "版本号")
    private Integer version;

    /** 实例id */
    @Excel(name = "实例id")
    private Long flowInstantId;

    /** 状态（0-未提交，1-打回，2-审核中，3-已完成 */
    @Excel(name = "状态", readConverterExp = "状态（0-未提交，1-打回，2-审核中，3-已完成")
    private Long status;

    public void setExpenditureId(Long expenditureId) 
    {
        this.expenditureId = expenditureId;
    }

    public Long getExpenditureId() 
    {
        return expenditureId;
    }
    public void setFundingId(Long fundingId) 
    {
        this.fundingId = fundingId;
    }

    public Long getFundingId() 
    {
        return fundingId;
    }
    public void setExpenditureAmount(BigDecimal expenditureAmount) 
    {
        this.expenditureAmount = expenditureAmount;
    }

    public BigDecimal getExpenditureAmount() 
    {
        return expenditureAmount;
    }
    public void setExpenditureDate(Date expenditureDate) 
    {
        this.expenditureDate = expenditureDate;
    }

    public Date getExpenditureDate() 
    {
        return expenditureDate;
    }
    public void setExpenditureType(String expenditureType) 
    {
        this.expenditureType = expenditureType;
    }

    public String getExpenditureType() 
    {
        return expenditureType;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }
    public void setPaymentMethod(String paymentMethod) 
    {
        this.paymentMethod = paymentMethod;
    }

    public String getPaymentMethod() 
    {
        return paymentMethod;
    }
    public void setFiles(String files) 
    {
        this.files = files;
    }

    public String getFiles() 
    {
        return files;
    }
    public void setDeleteBy(String deleteBy) 
    {
        this.deleteBy = deleteBy;
    }

    public String getDeleteBy() 
    {
        return deleteBy;
    }
    public void setDeleteTime(Date deleteTime) 
    {
        this.deleteTime = deleteTime;
    }

    public Date getDeleteTime() 
    {
        return deleteTime;
    }
    public void setDelFlag(Integer delFlag) 
    {
        this.delFlag = delFlag;
    }

    public Integer getDelFlag() 
    {
        return delFlag;
    }
    public void setVersion(Integer version) 
    {
        this.version = version;
    }

    public Integer getVersion() 
    {
        return version;
    }
    public void setFlowInstantId(Long flowInstantId) 
    {
        this.flowInstantId = flowInstantId;
    }

    public Long getFlowInstantId() 
    {
        return flowInstantId;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("expenditureId", getExpenditureId())
            .append("fundingId", getFundingId())
            .append("expenditureAmount", getExpenditureAmount())
            .append("expenditureDate", getExpenditureDate())
            .append("expenditureType", getExpenditureType())
            .append("description", getDescription())
            .append("paymentMethod", getPaymentMethod())
            .append("files", getFiles())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("deleteBy", getDeleteBy())
            .append("deleteTime", getDeleteTime())
            .append("delFlag", getDelFlag())
            .append("version", getVersion())
            .append("flowInstantId", getFlowInstantId())
            .append("status", getStatus())
            .toString();
    }
}
